package boot;

import nio.ChannelUtils;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author dylan
 * @version 0.0.0.1
 * description
 * @date: 2024/4/10 20:55
 */
@RestController
@RequestMapping("/")
public class Controller {

    @GetMapping("/send")
    public Object send(){
        ChannelUtils.sendMsg();
        return "ok";
    }
}
